babl-fish-reference: add lock to part of float reference
authorØyvind Kolås <pippin@gimp.org>
Tue, 4 Sep 2018 17:09:07 +0000 (19:09 +0200)
committerØyvind Kolås <pippin@gimp.org>
Tue, 4 Sep 2018 17:09:28 +0000 (19:09 +0200)
commited4238307a5ce6c79cf320a36c8310181193385b
tree7e42220ff3a7e9be1e6aa47a9c79567a57de7ae8
parent1d8b34a01127c754697a4280e4eacff34d497b0a
babl-fish-reference: add lock to part of float reference

This fixes problems that occur during GEGLs documentation gallery build
when multiple threads are in use (the default). The critical section has
experimentally been made as short as possible to avoid babl memory
inconsistencies - without identifing the core race.
babl/babl-fish-reference.c
babl/babl-internal.c
babl/babl-internal.h
tools/babl_fish_path_fitness.c